<div ba-panel ba-panel-title="协议" ba-panel-class="with-scroll" ng-controller="AgreementCtrl">
    <div style="position: absolute;right: 3%;top: 5px;"><button type="button" class="btn btn-info btn-raised" ng-click="set_agreement()">新增协议</button></div>
    <table class="table table-bordered">
        <thead>
            <tr valign="middle" class=" text-center">
                <th class="browser-icons"></th>
                <th class="text-center">协议编码</th>
                <th class="text-center">协议名称</th>
                <th class="text-center">操作</th>
            </tr>
        </thead>
        <tbody>
            <tr style="line-height:70px" ng-repeat="list in agreement track by $index">
                <td class=" text-center ">{{$index+1}}</td>
                <td class=" text-center ">{{list.code}}</td>
                <td class=" text-center " style=" cursor:hand ">{{list.name}}</td>
                <td class=" text-center ">
                    <span class="iscursor" ng-click="set_agreement($index,list)">编辑</span>
                    <span class="iscursor" ng-click="delete_agreement($index)">删除</span>
                </td>
            </tr>

        </tbody>
    </table>
</div>